var webpack = require('webpack');
module.exports = {
  publicPath: process.env.NODE_ENV === 'production'
    ? './'
    : '',
  lintOnSave: false,
  chainWebpack: config => {
    config.plugin('provide').use(webpack.ProvidePlugin, [{
      $: 'jquery',
      jquery: 'jquery',
      jQuery: 'jquery',
      'window.jQuery': 'jquery'
    }])
  }
}
